package com.ruoyi.system.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 方剂分类对象 sys_app_prescription_sort
 * 
 * @author ruoyi
 * @date 2020-09-04
 */
public class SysAppPrescriptionSort extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String sortName;

    /** 分类的字典数据 */
    @Excel(name = "分类的字典数据")
    private String dictLable;

    /** 排序 */
    @Excel(name = "排序")
    private Integer ord;

    /** 启用状态（0、不启用，1、启用） */
    @Excel(name = "启用状态", readConverterExp = "0=、不启用，1、启用")
    private Integer status;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 数据备注 */
    @Excel(name = "数据备注")
    private String dataRemark;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSortName(String sortName) 
    {
        this.sortName = sortName;
    }

    public String getSortName() 
    {
        return sortName;
    }
    public void setDictLable(String dictLable) 
    {
        this.dictLable = dictLable;
    }

    public String getDictLable() 
    {
        return dictLable;
    }
    public void setOrd(Integer ord) 
    {
        this.ord = ord;
    }

    public Integer getOrd() 
    {
        return ord;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setDataRemark(String dataRemark) 
    {
        this.dataRemark = dataRemark;
    }

    public String getDataRemark() 
    {
        return dataRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sortName", getSortName())
            .append("dictLable", getDictLable())
            .append("ord", getOrd())
            .append("status", getStatus())
            .append("createDate", getCreateDate())
            .append("dataRemark", getDataRemark())
            .toString();
    }
}
